package org.lanqiao.notice;

import com.baomidou.mybatisplus.core.metadata.IPage;
import org.lanqiao.admins.Administrator;
import org.lanqiao.notices.Notice;

import java.util.List;
import java.util.Map;

public interface INoticeService {
    List<Notice> noticeList();
    List<Notice> noticeListByCondition(Map<String,Object> queryMap);
    IPage<Notice> noticePage(Integer pagenum, Integer pagesize);
    IPage<Notice> noticePageByCondition(Integer pagenum,Integer pagesize,Map<String,Object> queryMap);
    Integer addNotice(Notice notice);
    Integer updateNotice(Notice notice);
    Integer deleteNoticeById(Integer id);
}
